
package com.qywx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName DepartmentEntity
 * @Description: 系统用户
 * @Author wmj
 * @Date 2020/3/2
 * @Version V1.0
 **/
@Data
@TableName("sys_user")
public class SysUserEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId(type= IdType.AUTO)
	private Integer userid;


	/**
	 * 用户名
	 */
	private String username;

	/**
	 * 密码
	 */
	private String password;

	/**
	 * 角色ID列表
	 */
	private String role;


	private int enable;

	private int depid;

	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date creatTime;
}
